When the Identity store is a database, we can use the Database Based Authentication Manager to authenticate the users. Both JPA and JDBC can be used to connect to the DB and execute the password query.
Option |
Description |
Default Value |
Example |
jpaConfigName |
the name of the persistence unit as configured in the persistence.xml file |
|
|
passwordQuery |
required parameter that specifies the query that must be run in order to obtain the password associated with the |
|
SELECT PASSWORD FROM USERS WHERE USERNAME = ? |
Option |
Description |
Default Value |
Example |
dataSource |
allows for direct injection of a DataSource instance |
|
|
dsJNDIName |
specifies the JNDI name that can be used to retrieve a DataSource instance. If the DataSource has not been injected |
|
|
passwordQuery |
required parameter that specifies the query that must be run in order to obtain the password associated with the |
|
SELECT PASSWORD FROM USERS WHERE USERNAME = ? |
Deal with salted/masked passwords.
Suspend and resume incoming transactions when performing the DB query.